package com.im.service.user.dao;

import com.im.service.dto.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface IStaffOperDAO {

	public void saveStaff(Staff staff);

	/**
	 * 更新员工
	 * @param staff
	 */
	public void updateStaff(Staff staff);

	/**
	 * 失效员工
	 * @param staff
	 */
	public void deleteStaff(Staff staff);

	public void saveStaff2Role(Staff2Role staff2Role);

	public void updateStaff2Role(Staff2Role staff2Role);

	public void updateRole(Role role);

	public void saveRole(Role role);

	public void updateOrg(Orgarization orgarization);

	public void saveOrg(Orgarization orgarization);

	public void updateRole2FuncMenu(Role2FuncMenu role2FuncMenu);

	public void saveRole2FuncMenu(Role2FuncMenu role2FuncMenu);

	public void updateStaffLimitRange(StaffLimitRange staffLimitRange);

	public void saveStaffLimitRange(StaffLimitRange staffLimitRange);


}
